package com.shen.driver;

/**
 * Author:shen
 * CreateDate:2020/5/11.
 * Function:
 */
public class Plane {
    private int site;//座位数
    private int height;//飞行高度

    public Plane() {
    }

    public Plane(int site, int height) {
        this.site = site;
        this.height = height;
    }

    public int getSite() {
        return site;
    }

    public void setSite(int site) {
        this.site = site;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
    /**
     * 起飞方法
     */
    public void start(){
        System.out.println("飞机—————起飞");
    }
    /**
     * 降落方法
     */
    public void stop(){
        System.out.println("飞机-----------降落");
    }
}
